const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  // 头像
  avatar: (state) => state.user.userInfo.staffPhoto,
  // 名字
  name: (state) => state.user.userInfo.username,
  // 公司名
  company: (state) => state.user.userInfo.company,
  companyId: (state) => state.user.userInfo.companyId,
  // 哟用户id
  userId: (state) => state.user.userInfo.id
}
export default getters
